{anchor:msg_retrieve_0}
!! Retrieve message
Retrieve message
!!! Constructor
!!!! new COSA.Request.Retrieve(logicalName, id, columnSet, requestId)
|| Param || Type || Description ||
| logicalName | {{string}} | Entity Logical Name |
| id | {{string}} | Entity Unique Identifier |
| columnSet | {{Array.<string>}} | Requested columns |
| requestId _(optional)_ | {{string}} | Unique Request Identifier |
!!! Instance Properties
|| Name || Type || Description ||
| logicalName | {{string}} | Entity Logical Name |
| id | {{string}} | Entity Unique Identifier |
| columnSet | {{Array.<string>}} | Requested columns |
| requestId _(optional)_ | {{string}} | Unique Request Identifier |
!!! Example
{code:javascript}
var retrieve_0 = new COSA.Request.Retrieve('contact', 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
    [ 'fullname',
    	'birthdate',
        'emailaddress1',
        'creditlimit',
        'numberofchildren',
        'creditonhold',
        'parentcustomerid',
        'gendercode',
        'address1_latitude'
    ]);
//message execution
retrieve_0.execute(function ( r ) {
	//working with a response
});
//or
COSA.Core.Execute(retrieve_0, function ( r ) {
	//working with a response
});
{code:javascript}

[Back to Top|#tbl_contents_0]